package com.sxjh.entity.result;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class TruckingOrderListResult {

    @ApiModelProperty(value = "id")
    @ExcelProperty(value = "id")
    private int id;

    @ApiModelProperty(value = "序号")
    @ExcelProperty(value = "序号")
    private Integer index;

    @ApiModelProperty(value = "产生时间")
    @ExcelProperty(value = "产生时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private String createdAt;

//    @ApiModelProperty(value = "产生地点")
//    @ExcelProperty(value = "产生地点")
//    private String addr;
    @ApiModelProperty(value = "物料名称")
    @ExcelProperty(value = "物料名称")
    private String truckingOrderDetailsMaterialName;

    @ApiModelProperty(value = "车牌号码")
    @ExcelProperty(value = "车牌号码")
    private String truckingOrdersPlateNumber;

    @ApiModelProperty(value = "罐装值/kg")
    @ExcelProperty(value = "罐装值/kg")
    private Integer truckingOrderDetailsQuantity;

    @ApiModelProperty(value = "计量值/kg")
    @ExcelProperty(value = "计量值/kg")
    private Integer truckingOrderDetailsMeasure;

    @ApiModelProperty(value = "开单日期")
    @ExcelProperty(value = "开单日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private String billAt;

    @ApiModelProperty(value = "是否已读:1,已读;2未读")
    private Integer readed;

    @ApiModelProperty(value = "是否推送, 1：是, 2：否")
    private Integer isPush;

    @ApiModelProperty(value = "是否异常,ture:异常")
    private Boolean isNormal;

}
